import requests
req=requests.get('http://www.baidu.com')
print(req.status_code)
print(req.encoding)
print(req.text)
print(req.content)
